<div class='row'>
<h2>{{ $title }}</h2>
</div>

<!-- if there are creation errors, they will show here -->
<?php
$error_msgs = $errors->getMessages();
if ($error_msgs && sizeof ($error_msgs)) {
    echo "<div class='row'>\n";
    foreach ($error_msgs as $field=>$msgs) {
        foreach ($msgs as $msg) {
echo "
<div data-alert class='alert-box warning radius'>
  {$msg}
  <a href='#' class='close'>&times;</a>
</div>
  ";
        }
    }
    echo "</div>";
}
?>


